package com.herui.ota.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.herui.ota.entity.Device;
import com.herui.ota.entity.DeviceOtaEvent;
import com.herui.ota.pojo.vo.DeviceOtaEventChannel;
import org.shan.base.layer.user.service.IBaseService;

import java.util.List;

/**
 * author name: amanda.shan
 * create time: 2023-10-26 16:51:33
 */ 
public interface DeviceOtaEventService extends IBaseService<DeviceOtaEvent> {

    void save(Device device, boolean sucess);

    List<DeviceOtaEventChannel> listDeviceOtaEventChannel(String version);
}

